package com.client;

import com.message.resp.ExitGroupResp;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class ExitGroupRespHandler extends SimpleChannelInboundHandler<ExitGroupResp> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, ExitGroupResp msg) throws Exception {
        if(msg.isExitSuccess()){

            System.out.println("退出群聊成功");
        }else{
            System.out.println("退出群聊失败");
        }
    }
}
